Update
This endpoint allows you to update the information of a specific customer.
- referencerequiredstring
{
"email": "Melany.Breitenberg@gmail.com",
"name": "Andrew Breitenberg",
"phone": "237656019262",
"metadata": {
"field_name": "Illo amet sit et rerum id totam aspernatur."
},
"address": {
"country": "US",
"state": "Region name",
"city": "Jeromyburgh",
"postal_code": "00237",
"address_line1": "44451 Howell Loaf",
"address_line2": "825 Paula Forest"
},
"billing": {
"country": "CV",
"state": "Region name",
"city": "Welchside",
"postal_code": "00237",
"address_line1": "9438 Ezequiel Hills",
"address_line2": "7851 Zelda Corner"
}
}
- 200
Successful response
- 401
Unauthorized
curl --request POST \
--url https://api.notchpay.co/customers/__REFERENCE__ \
--header 'Content-Type: application/json' \
--data '{
"email": "Melany.Breitenberg@gmail.com",
"name": "Andrew Breitenberg",
"phone": "237656019262",
"metadata": {
"field_name": "Illo amet sit et rerum id totam aspernatur."
},
"address": {
"country": "US",
"state": "Region name",
"city": "Jeromyburgh",
"postal_code": "00237",
"address_line1": "44451 Howell Loaf",
"address_line2": "825 Paula Forest"
},
"billing": {
"country": "CV",
"state": "Region name",
"city": "Welchside",
"postal_code": "00237",
"address_line1": "9438 Ezequiel Hills",
"address_line2": "7851 Zelda Corner"
}
}'
Successful response
Delete
- referencerequiredstring
Customer id
- 200
Successful response
- 401
Unauthorized
curl --request DELETE \
--url https://api.notchpay.co/customers/__REFERENCE__
Successful response
API Reference
The Notch Pay API is designed to provide you with a simple and powerful integration with our payment platform. Here are the fundamental principles that guide our API:
RESTful Architecture
Our API is built on the REST (Representational State Transfer) architecture, providing you with intuitive and predictable URLs for interacting with Notch Pay resources (payments, customers, transactions, etc.).
Request and Response Format
Requests: Requests are sent in the application/json format for maximum compatibility. Responses: All responses are returned in JSON format, clearly structured for easy processing in your application.
Standard HTTP Response Codes
We use standard HTTP response codes to indicate the success or failure of requests, providing you with accurate information about the outcome of each interaction.
Secure Authentication
Authentication is ensured through unique API keys that you obtain when you sign up. These keys ensure that only authorized applications can access your Notch Pay account.
Test Mode
Our API offers a comprehensive test mode that allows you to develop and test your integration without affecting your live data or interacting with banking networks.
Continuous Evolution
We regularly update our API with new features and improvements. Check our documentation regularly to stay informed about the latest developments.
Individual Resources
Our API handles resources individually. Each request should focus on a single resource at a time to ensure the consistency and reliability of operations.
Ready to get started? Explore our detailed integration guides and comprehensive API references to start accepting payments seamlessly with Notch Pay.
Additional Key Points to Consider for Your Notch Pay Documentation:
Code Examples: Provide concrete code examples in different languages to help developers quickly integrate the API.
Support Channels: Clearly indicate how developers can get help if needed (email, forum, etc.).
Create
Create a new client profile within your system's integration.
- Acceptstring
- Content-Typestring
The email address of the customer is prominently displayed within your dashboard, and serves as a valuable tool for both search and tracking purposes.
The customer’s phone number.
The customer’s full name or business name.
Billing address
Shipping address
- 201
Successful response
- 401
Unauthorized
- 422
Validation error
curl --request POST \
--url https://api.notchpay.co/customers \
--header 'Content-Type: application/json' \
--data '{
"email": null,
"phone": "",
"address": {
"country": ""
},
"shipping": {
"country": ""
}
}'
Successful response